package report

import java.util.Date;

class ActivityStatus {
	
	static final def NOT_STARTED = 0
	static final def ONGOING = 1
	static final def FINISHED = 2
	static final def ABORTED = 3
		
	static def toValue = {
		switch (it) {
			case NOT_STARTED:
				return "Não iniciada"
			case ONGOING:
				return "Em andamento"
			case FINISHED:
				return "Concluída"
			case ABORTED:
				return "Abortada"
			default:
				return "Desconhecido"
		}
	}
	
}
